package cn.imvc.app.models;

import org.springframework.data.domain.Page;

import cn.imvc.app.entities.Seller;
import cn.imvc.app.entities.Storage;
import cn.imvc.data.domain.ViewRequest;

public interface StorageModel {

	Page<Storage> find(ViewRequest viewRequest);

	Storage get(int id);

	int update(int id,int sellerId, int storageTypeId, Storage storage);

	int save(int sellerId, int storageTypeId, Storage storage);

	String delete(int id);

	void deleteBatch(int[] ids);


}
